//
//  SoundManager.m
//  SportSocial
//
//  Created by hanfangyu on 15/3/13.
//  Copyright (c) 2015年 yull. All rights reserved.
//

#import "SoundManager.h"
#import <AudioToolbox/AudioToolbox.h>

@implementation SoundManager

+ (void)playSound
{
    NSUserDefaults *userDefault = [NSUserDefaults standardUserDefaults];
    BOOL soundAlert = [[userDefault objectForKey:@"SoundAlert"] boolValue];
    if (soundAlert) {
        AudioServicesPlaySystemSound(1012);
    }
}
@end
